package com.gxa.meiye.core.pojo.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 美疗项目
 * </p>
 *
 * @author zy
 * @since 2022-07-24
 */
@TableName("t_project")
@ApiModel(value = "Project对象", description = "美疗项目")
public class Project implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String name;

    private String describe;

    private String price;

    private String image;

    private Integer therapistId;

    @ApiModelProperty("项目时长")
    private Integer time;

    @ApiModelProperty("门店和美疗师是同一级别的只能有一个存在")
    private Integer shopId;

    private LocalDateTime createdTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    public String getDescribe() {
        return describe;
    }

    public void setDescribe(String describe) {
        this.describe = describe;
    }
    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }
    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }
    public Integer getTherapistId() {
        return therapistId;
    }

    public void setTherapistId(Integer therapistId) {
        this.therapistId = therapistId;
    }
    public Integer getTime() {
        return time;
    }

    public void setTime(Integer time) {
        this.time = time;
    }
    public Integer getShopId() {
        return shopId;
    }

    public void setShopId(Integer shopId) {
        this.shopId = shopId;
    }
    public LocalDateTime getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(LocalDateTime createdTime) {
        this.createdTime = createdTime;
    }

    @Override
    public String toString() {
        return "Project{" +
            "id=" + id +
            ", name=" + name +
            ", describe=" + describe +
            ", price=" + price +
            ", image=" + image +
            ", therapistId=" + therapistId +
            ", time=" + time +
            ", shopId=" + shopId +
            ", createdTime=" + createdTime +
        "}";
    }
}
